package com.lizixin.service;


import com.lizixin.pojo.UserInfo;

import java.util.List;

/**
 * Created by 黎子新 on 2017/6/14.
 */
public interface UserService {

    public List<UserInfo> getAllUser();
    public void deleteUser(Integer id);
    public void update(UserInfo user);
    public UserInfo getLoginUser(String username, Integer password);
    public UserInfo getUserById(Integer id);
    public Integer addUser(UserInfo userInfo);
    long getUserInfoCount();
}
